﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Edit.Master" AutoEventWireup="true"
    CodeBehind="ArchiveBorrowDetail.aspx.cs" Inherits="Web.Views.ArchiveBorrow.ArchiveBorrowApprove.ArchiveBorrowDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../../Easy_UI/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../../Easy_UI/jquery.easyui.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="button" runat="server">
    <!--信息中心借阅-->
    <div style="width: 100%" runat="server" id="divXXZXJY">
        <button type="reset" class="sexybutton" runat="server" id="btnReturn" onclick="ReturnLastUrl()">
            <span><span><span class="add">返回</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnBBSLDDisAgree" onserverclick="btnBBSLDDisAgree_Click"
            visible="false">
            <span><span><span class="add">不同意</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXDAYAgreeBorrow"
            onserverclick="btnXXZXDAYAgreeBorrow_Click">
            <span><span><span class="add">同意办理借阅</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnBBSLDToXXZX" onserverclick="btnBBSLDToXXZX_Click">
            <span><span><span class="add">送信息中心档案员</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXDAYDisAgree" onserverclick="btnXXZXDAYDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXDAYToDAXCBMLD"
            onserverclick="btnXXZXDAYToDAXCBMLD_Click">
            <span><span><span class="add">送档案形成部门领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXDAYToDAXCBMLD2"
            onserverclick="btnXXZXDAYToDAXCBMLD_Click">
            <span><span><span class="add">送档案形成部门领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnDAXCBMLDDisAgree2"
            onserverclick="btnDAXCBMLDDisAgree2_Click" visible="false">
            <span><span><span class="add">不同意</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnDAXCBMToXXZXLD2" onserverclick="btnDAXCBMToXXZXLD2_Click"
            visible="false">
            <span><span><span class="add">送信息中心领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnDAXCBMLDDisAgree" onserverclick="btnDAXCBMLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnDAXCBMToXXZXLD" onserverclick="btnDAXCBMToXXZXLD_Click">
            <span><span><span class="add">送信息中心领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXLDDisAgree" onserverclick="btnXXZXLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnXXZXLDAgreeBorrow"
            onserverclick="btnXXZXLDAgreeBorrow_Click">
            <span><span><span class="add">同意办理借阅</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnPaperArchiveLend" onserverclick="btnPaperArchiveLend_Click">
            <span><span><span class="add">借出纸质文档</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnPaperArchiveReturn"
            onserverclick="btnPaperArchiveReturn_Click">
            <span><span><span class="add">归还纸质文档</span></span></span></button>
    </div>
    <!--基层借阅-->
    <div style="width: 100%" runat="server" id="divJCJY">
        <!--基层普通借阅，本部室领导第一次审核-->
        <button type="reset" class="sexybutton" runat="server" id="btnJCBBSLDToDAXCBMDAY"
            visible="false" onserverclick="btnJCBBSLDToDAXCBMDAY_Click">
            <span><span><span class="add">送档案员</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnJCBBSLDDisAgree" visible="false"
            onserverclick="btnJCBBSLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <!--基层普通借阅，档案员审核-->
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAXCBMDAYAgree" visible="false"
            onserverclick="btnJCDAXCBMDAYAgree_Click">
            <span><span><span class="add">同意办理借阅</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAXCBMDAYToDAXCBMLD"
            visible="false" onserverclick="btnJCDAXCBMDAYToDAXCBMLD_Click">
            <span><span><span class="add">送档案形成部室领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAXCBMDAYDisAgree"
            visible="false" onserverclick="btnJCDAXCBMDAYDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <!--基层普通借阅，本部室领导二次审核-->
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAXCBMLDToDAYLD"
            visible="false" onserverclick="btnJCDAXCBMLDToDAYLD_Click">
            <span><span><span class="add">送档案员领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAXCBMLDDisAgree"
            visible="false" onserverclick="btnJCDAXCBMLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <!--档案员发起借阅，送本部门领导-->
        <button type="reset" class="sexybutton" runat="server" id="btn2ToDAXCBMLD" visible="false"
            onserverclick="btn2ToDAXCBMLD_Click">
            <span><span><span class="add">送档案形成部门领导</span></span></span></button>
        <!--档案形成部门领导-->
        <button type="reset" class="sexybutton" runat="server" id="btn2ToDAYLD" visible="false"
            onserverclick="btn2ToDAYLD_Click">
            <span><span><span class="add">送档案员领导</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btn2DAXCBMLDDisAgree"
            visible="false" onserverclick="btn2DAXCBMLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
        <!--档案员领导-->
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAYLDAgree" visible="false"
            onserverclick="btnJCDAYLDAgree_Click">
            <span><span><span class="add">同意办理借阅</span></span></span></button>
        <button type="reset" class="sexybutton" runat="server" id="btnJCDAYLDDisAgree" visible="false"
            onserverclick="btnJCDAYLDDisAgree_Click">
            <span><span><span class="add">不同意</span></span></span></button>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="edit" runat="server">
    <div id="aa" class="easyui-accordion">
        <div title="基本信息" data-options="iconCls:'icon-ok'" style="overflow: auto; padding: 10px;">
            <div>
                <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
                    <tr>
                        <th style="width: 110px">
                            利用者:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtBorrowUser" Enabled="false" Width="98%"></asp:TextBox>
                        </td>
                        <th style="width: 110px">
                            利用单位:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtBorrowUserOrg" Enabled="false" Width="98%"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            证件名称及编号:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtIDCARD" Width="98%" class="required" Enabled="false"></asp:TextBox>
                        </td>
                        <th>
                            联系电话:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtTELNUM" Width="98%" class="required" Enabled="false"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            档案类型:
                        </th>
                        <td>
                            <asp:CheckBoxList runat="server" ID="cblARCHIVETYPE" RepeatDirection="Horizontal"
                                Enabled="false" Width="99%">
                                <asp:ListItem Text="电子" Value="1"></asp:ListItem>
                                <asp:ListItem Text="纸质" Value="2"></asp:ListItem>
                                <asp:ListItem Text="特殊载体" Value="3"></asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                        <th>
                            利用方式:
                        </th>
                        <td>
                            <asp:CheckBoxList runat="server" ID="cblUSERTYPE" RepeatDirection="Horizontal" Width="99%"
                                Enabled="false">
                                <asp:ListItem Text="借阅" Value="1"></asp:ListItem>
                                <asp:ListItem Text="查阅" Value="2"></asp:ListItem>
                                <asp:ListItem Text="复制" Value="3"></asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr id="trCopyPage" runat="server">
                        <th>
                            <span class="require_info">*</span>复制页数
                        </th>
                        <td colspan="3">
                            <asp:TextBox runat="server" ID="txtCopyPage" Width="80%" Enabled="false"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            借阅时间:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtBorrowTime" Enabled="false" Width="98%"></asp:TextBox>
                        </td>
                        <th>
                            过期时间
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtValidPeriod" Enabled="false" Width="98%"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            档案类型:
                        </th>
                        <td>
                            <asp:TextBox runat="server" ID="txtArchiveType" Enabled="false" Width="98%"></asp:TextBox>
                        </td>
                        <th>
                            档案名称:
                        </th>
                        <td>
                            <asp:HyperLink runat="server" ID="hlArchiveName" Target="_blank"></asp:HyperLink>
                        </td>
                    </tr>
                    <tr runat="server" id="trDown">
                        <th>
                        </th>
                        <td>
                            <asp:CheckBox runat="server" ID="cboCanDownload" Text="申请下载" Enabled="false" />
                        </td>
                        <th>
                        </th>
                        <td>
                            <asp:CheckBox runat="server" ID="cboCanView" Text="申请浏览" Enabled="false" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            借阅原因
                        </th>
                        <td colspan="3">
                            <asp:TextBox runat="server" ID="txtReason" Width="80%" Height="100px" TextMode="MultiLine"
                                Enabled="false"></asp:TextBox>
                        </td>
                    </tr>
                    <tr runat="server" id="trReturnTime" visible="false">
                        <th>
                            归还时间
                        </th>
                        <td colspan="3">
                            <span class="require_info">*</span><asp:TextBox runat="server" ID="txtReturnTime"
                                class="easyui-datebox " editable="false"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
            <div runat="server" id="divToUserList" visible="false">
                <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
                    <tr>
                        <th width="110px">
                            档案形成部门领导
                        </th>
                        <td>
                            <asp:DropDownList runat="server" ID="dboToUserList" Enabled="false" Width="99%">
                            </asp:DropDownList>
                        </td>
                        <th width="110px">
                        </th>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div runat="server" id="divSP">
                <fieldset>
                    <legend>审批信息</legend>
                    <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
                        <tr>
                            <th style="width: 110px">
                                审批意见
                            </th>
                            <td>
                                <asp:TextBox TextMode="MultiLine" runat="server" ID="txtCurrentComment" Width="80%"
                                    Height="70px" Wrap="true"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </div>
        </div>
        <div title="流程信息" data-options="iconCls:'icon-ok'" style="overflow: auto; padding: 10px;">
            <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
                <tr id="trBBSYJ" runat="server">
                    <th style="width: 110px">
                        本部室领导意见:
                    </th>
                    <td>
                        <asp:TextBox TextMode="MultiLine" runat="server" ID="txtMessageBBSLD" Width="80%"
                            Enabled="false" Height="70px" Wrap="true"></asp:TextBox>
                    </td>
                </tr>
                <tr style="visibility: hidden">
                    <th style="width: 110px">
                        档案员审批意见:
                    </th>
                    <td>
                        <asp:TextBox TextMode="MultiLine" runat="server" ID="txtMessageDAY" Width="80%" Height="70px"
                            Enabled="false" Wrap="true"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th style="width: 110px">
                        档案形成部门意见:
                    </th>
                    <td>
                        <asp:TextBox TextMode="MultiLine" runat="server" ID="txtMessageDAXCBMLD" Width="80%"
                            Height="70px" Enabled="false" Wrap="true"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th style="width: 110px">
                        信息中心领导意见:
                    </th>
                    <td>
                        <asp:TextBox TextMode="MultiLine" runat="server" ID="txtMessageXXZXLD" Width="80%"
                            Height="70px" Enabled="false" Wrap="true"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            var returnText = $("#ctl00_edit_txtReturnTime");
            if (returnText) {
                var curr_time = new Date();
                var strDate = curr_time.getFullYear() + "-";
                strDate += curr_time.getMonth() + 1 + "-";
                strDate += curr_time.getDate();
                returnText.datebox("setValue", strDate);
            }
        });

        function ReturnLastUrl() {
            window.location.href = "<%=Referer %>";
        }
    </script>
</asp:Content>
